package com.zretc.entity;

import java.util.List;

/**
 * 卖家信息表
 * 马福又
 */
public class Seller {
    private Integer sellerId;//卖家编号
    private String sellerAccount;//卖家账号
    private String sellerPassword;//卖家密码
    private String sellerAddress;//地址
    private String sellerPhone;//联系方式
    private String sellerName;//店铺名称
    private String sellerLogo;//店铺logo
    private Integer sellerStatus;//卖家状态
    private List<Product> products;//商品集合

    public Seller() {
    }

    public Seller(Integer sellerId, String sellerAccount, String sellerPassword,
                  String sellerAddress, String sellerPhone, String sellerName,
                  String sellerLogo, Integer sellerStatus) {
        this.sellerId = sellerId;
        this.sellerAccount = sellerAccount;
        this.sellerPassword = sellerPassword;
        this.sellerAddress = sellerAddress;
        this.sellerPhone = sellerPhone;
        this.sellerName = sellerName;
        this.sellerLogo = sellerLogo;
        this.sellerStatus = sellerStatus;
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public String getSellerAccount() {
        return sellerAccount;
    }

    public void setSellerAccount(String sellerAccount) {
        this.sellerAccount = sellerAccount;
    }

    public String getSellerPassword() {
        return sellerPassword;
    }

    public void setSellerPassword(String sellerPassword) {
        this.sellerPassword = sellerPassword;
    }

    public String getSellerAddress() {
        return sellerAddress;
    }

    public void setSellerAddress(String sellerAddress) {
        this.sellerAddress = sellerAddress;
    }

    public String getSellerPhone() {
        return sellerPhone;
    }

    public void setSellerPhone(String sellerPhone) {
        this.sellerPhone = sellerPhone;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public String getSellerLogo() {
        return sellerLogo;
    }

    public void setSellerLogo(String sellerLogo) {
        this.sellerLogo = sellerLogo;
    }

    public Integer getSellerStatus() {
        return sellerStatus;
    }

    public void setSellerStatus(Integer sellerStatus) {
        this.sellerStatus = sellerStatus;
    }

    public List<Product> getProducts() {
        return products;
    }

    public void setProducts(List<Product> products) {
        this.products = products;
    }

    @Override
    public String toString() {
        return "Seller{" +
                "sellerId=" + sellerId +
                ", sellerAccount='" + sellerAccount + '\'' +
                ", sellerPassword='" + sellerPassword + '\'' +
                ", sellerAddress='" + sellerAddress + '\'' +
                ", sellerPhone='" + sellerPhone + '\'' +
                ", sellerName='" + sellerName + '\'' +
                ", sellerLogo='" + sellerLogo + '\'' +
                ", sellerStatus=" + sellerStatus +
                ", products=" + products +
                '}';
    }
}
